import java.io.IOException;
import java.lang.StringBuffer;
import java.net.MalformedURLException;
import java.net.UnknownHostException;

import javax.swing.SwingUtilities;

/**
 * @author Simon
 *
 */
public class URR
{
	Model model;
	View view;
	Controller controller;
	
	public static void main(String[] args)
	{		
		/*
		 	System.getProperties().put( "proxySet", "true" );
			System.getProperties().put( "proxyHost", "proxy.dcu.ie" );
			System.getProperties().put( "proxyPort", "8080" );
		 */

		SwingUtilities.invokeLater(new Runnable() 
		{
		    public void run() 
		    {
		        createAndShowGUI();
		    }
		});
		
	}
	
	public static void createAndShowGUI()
	{
		URR ranker = new URR();
		
		ranker.model = new Model();
		ranker.view = new View(ranker.model);
		ranker.view.init();
		
		ranker.controller = new Controller(ranker.model, ranker.view);
	}
}